package com.hopu.v1.controller.front.attendance;

import com.hopu.v1.pojo.common.R;
import com.hopu.v1.service.front.attendance.FAttendanceRegularService;
import com.hopu.v1.service.front.attendance.FAttendanceService;
import com.hopu.v1.utils.JwtUtils;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * ClassName: FAttendanceRegular
 * Description:
 *
 * @Author lh
 * @Create 2024/10/11 15:54
 * @Version 1.0
 */
@RestController
@RequestMapping("attendanceRegular")
public class FAttendanceRegular {
    @Autowired
    private FAttendanceRegularService fAttendanceRegularService;

    @GetMapping("/selectAttendanceRegular")
    public R select(String status) {
        return R.ok(fAttendanceRegularService.selectStudentAttendanceRegular(status));
    }
}
